<template>
  <div class="index" >
    <div class="item" @click="notify" id="notify">点击唤起协议，并返回前面页面，查看登录状态是否改变</div>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {
    components: {
    },
    data() {
      return {

      }
    },
    methods: {
      notify() {
          this.wccia.notifyLogined('{"name":"我查查","age":"24","sex":"male"}')
      }
    },
    created() {
    }
  }
</script>

<style lang="stylus" rel="stylesheet/stylus">
  .index
    display block
    height 6rem
    line-height 6rem
    .item
      height .6rem
      line-height .6rem
      font-size .4rem
      margin .3rem
      &#notify
        height auto
        line-height auto
        text-align center
        font-size .5rem
        border-radius .05rem
        padding .2rem
        background  #ff0000
</style>
